package com.example.a_lib.http

public class NetHelper {


    companion object {
        private lateinit var netHelper: NetHelper
        public fun getInstance(): NetHelper {
            if (!::netHelper.isInitialized) {
                netHelper = NetHelper()
            }
            return netHelper

        }
    }


    fun <T> getMyApi(t: Class<T>): T {
        return ComponentsClient2.getInstance2().provideService(t)
    }




}